package top.hyperplasma.kinare.service.impl;

import org.springframework.stereotype.Service;
import top.hyperplasma.kinare.service.ZhipuService;

@Service
public class ZhipuServiceImpl implements ZhipuService {

    private String getResponse(String request) {
        return "only for test, so... " + request.toUpperCase();
    }

    @Override
    public String glm4(String prompt) {
        // 调用获取响应的函数，获取响应
        return getResponse(prompt);
    }
}